package com.tan.common.dto.user;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.List;

/**
 * @author Tan-Bowen
 * @description
 * @date 2025/2/20 15:46
 */
@Data
public class RoleMenuDTO {

    @NotNull(message = "角色id不能为空")
    private Long roleId;

    @NotEmpty(message = "菜单id不能为空")
    private List<Long> menuId;
}
